/* @(#)GSBargainBean.java    V0.1
 *
 * Project: GSdevelop
 *
 * Modify Information:
 * =============================================================================
 *   Author       Date       Description
 *   ------------ ---------- ---------------------------------------------------
 *   owen         2006-4-20
 *
 * Copyright Notice:
 * =============================================================================
 *    Copyright (c) 2001-2006 Beijing HiTRUST Technology Co., Ltd. 1808 Room, 
 *        Science & Technology Building, No. 9 South Street, Zhong Guan Cun, 
 *        Haidian District, Beijing ,100081, China All rights reserved.
 *
 *    This software is the confidential and proprietary information of
 *        Beijing HiTRUST Technology Co., Ltd. ("Confidential Information").
 *        You shall not disclose such Confidential Information and shall use it
 *        only in accordance with the terms of the license agreement you entered
 *        into with HiTRUST.
 *
 * Warning:
 * =============================================================================
 * 
 */
package com.hitrust.gs.bean;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.hitrust.gs.service.GSBaseBean;

/**
 * 合同信息
 */
public class GSBargainBean implements GSBaseBean {
    /**
     * 序号
     */
    private String gs_bgn_id;
    /**
     * 合同编号
     */
    private String gs_bgn_serial;
    /**
     * 合同类型
     */
    private String gs_bgn_type;
    /**
     * 客户类型
     */
    private String gs_bgn_usertype;
    /**
     * 客户编号 
     */
    private String gs_bgn_userid;
    /**
     * 合同（协议）内容
     */
    private String gs_bgn_content;
    /**
     * 页数
     */
    private String gs_bgn_number;
    /**
     * 附件数
     */
    private String gs_bgn_filenumber;
    /**
     * 相关文件上传文件名称
     */
    private String gs_bgn_filename;
    /**
     * 部门
     */
    private String gs_bgn_department;
    /**
     * 签约人
     */
    private String gs_bgn_signuser;
    /**
     * 签约日期
     */
    private String gs_bgn_signdate;
    /**
     * 终止日期
     */
    private String gs_bgn_enddate;
    /**
     * 期限
     */
    private String gs_bgn_term;
    /**
     * 卷号
     */
    private String gs_bgn_vol;
    /**
     * 主合同编号
     */
    private String gs_bgn_mainserial;
    /**
     * 归卷日期
     */
    private String gs_bgn_returneddate;
    /**
     * 备注
     */
    private String gs_bgn_remark;
    /**
     * 有效性
     */
    private String gs_bgn_effect;
    /**
     * 录入人
     */
    private String gs_bgn_recordid;
    /**
     * 录入时间
     */
    private String gs_bgn_recordtime;
    /**
     * 主副合同序号
     */
    private String gs_main_ectype_num;
    /**
     * 收付款周期
     */
    private String gs_bgn_week;

   
    
    /* (non-Javadoc)
     * @see com.hitrust.gs.service.GSBaseBean#process(java.sql.ResultSet)
     */
    public Object process(ResultSet aResultSet) throws SQLException {
        GSBargainBean tGSBargainBean=new GSBargainBean();
        tGSBargainBean.gs_bgn_id = aResultSet.getString("GS_BGN_ID")==null?"":aResultSet.getString("GS_BGN_ID").trim();
        tGSBargainBean.gs_bgn_serial = aResultSet.getString("GS_BGN_SERIAL")==null?"":aResultSet.getString("GS_BGN_SERIAL").trim();
        tGSBargainBean.gs_bgn_type = aResultSet.getString("GS_BGN_TYPE")==null?"":aResultSet.getString("GS_BGN_TYPE").trim();
        tGSBargainBean.gs_bgn_usertype = aResultSet.getString("GS_BGN_USERTYPE")==null?"":aResultSet.getString("GS_BGN_USERTYPE").trim();
        tGSBargainBean.gs_bgn_userid = aResultSet.getString("GS_BGN_USERID")==null?"":aResultSet.getString("GS_BGN_USERID").trim();
        tGSBargainBean.gs_bgn_content = aResultSet.getString("GS_BGN_CONTENT")==null?"":aResultSet.getString("GS_BGN_CONTENT").trim();
        tGSBargainBean.gs_bgn_number = aResultSet.getString("GS_BGN_NUMBER")==null?"":aResultSet.getString("GS_BGN_NUMBER").trim();
        tGSBargainBean.gs_bgn_filenumber = aResultSet.getString("GS_BGN_FILENUMBER")==null?"":aResultSet.getString("GS_BGN_FILENUMBER").trim();
        tGSBargainBean.gs_bgn_filename = aResultSet.getString("GS_BGN_FILENAME")==null?"":aResultSet.getString("GS_BGN_FILENAME").trim();
        tGSBargainBean.gs_bgn_department = aResultSet.getString("GS_BGN_DEPARTMENT")==null?"":aResultSet.getString("GS_BGN_DEPARTMENT").trim();
        tGSBargainBean.gs_bgn_signuser = aResultSet.getString("GS_BGN_SIGNUSER")==null?"":aResultSet.getString("GS_BGN_SIGNUSER").trim();
        tGSBargainBean.gs_bgn_signdate = aResultSet.getString("GS_BGN_SIGNDATE")==null?"":aResultSet.getString("GS_BGN_SIGNDATE").trim();
        tGSBargainBean.gs_bgn_enddate = aResultSet.getString("GS_BGN_ENDDATE")==null?"":aResultSet.getString("GS_BGN_ENDDATE").trim();
        tGSBargainBean.gs_bgn_term = aResultSet.getString("GS_BGN_TERM")==null?"":aResultSet.getString("GS_BGN_TERM").trim();
        tGSBargainBean.gs_bgn_vol = aResultSet.getString("GS_BGN_VOL")==null?"":aResultSet.getString("GS_BGN_VOL").trim();
        tGSBargainBean.gs_bgn_mainserial = aResultSet.getString("GS_BGN_MAINSERIAL")==null?"":aResultSet.getString("GS_BGN_MAINSERIAL").trim();
        tGSBargainBean.gs_bgn_returneddate = aResultSet.getString("GS_BGN_RETURNEDDATE")==null?"":aResultSet.getString("GS_BGN_RETURNEDDATE").trim();
        tGSBargainBean.gs_bgn_remark = aResultSet.getString("GS_BGN_REMARK")==null?"":aResultSet.getString("GS_BGN_REMARK").trim();
        tGSBargainBean.gs_bgn_effect = aResultSet.getString("GS_BGN_EFFECT")==null?"":aResultSet.getString("GS_BGN_EFFECT").trim();
        tGSBargainBean.gs_bgn_recordid = aResultSet.getString("GS_BGN_RECORDID")==null?"":aResultSet.getString("GS_BGN_RECORDID").trim();
        tGSBargainBean.gs_bgn_recordtime = aResultSet.getString("GS_BGN_RECORDTIME")==null?"":aResultSet.getString("GS_BGN_RECORDTIME").trim();
        tGSBargainBean.gs_main_ectype_num = aResultSet.getString("GS_MAIN_ECTYPE_NUM")==null?"":aResultSet.getString("GS_MAIN_ECTYPE_NUM").trim();
        tGSBargainBean.gs_bgn_week = aResultSet.getString("GS_BGN_WEEK")==null?"":aResultSet.getString("GS_BGN_WEEK").trim();
        return tGSBargainBean;
    }



    /**
     * @return 返回 gs_bgn_content.
     */
    public String getGs_bgn_content() {
        return this.gs_bgn_content;
    }



    /**
     * @param aGs_bgn_content The gs_bgn_content to set.
     */
    public void setGs_bgn_content(String aGs_bgn_content) {
        this.gs_bgn_content = aGs_bgn_content;
    }



    /**
     * @return 返回 gs_bgn_department.
     */
    public String getGs_bgn_department() {
        return this.gs_bgn_department;
    }



    /**
     * @param aGs_bgn_department The gs_bgn_department to set.
     */
    public void setGs_bgn_department(String aGs_bgn_department) {
        this.gs_bgn_department = aGs_bgn_department;
    }



    /**
     * @return 返回 gs_bgn_enddate.
     */
    public String getGs_bgn_enddate() {
        return this.gs_bgn_enddate;
    }



    /**
     * @param aGs_bgn_enddate The gs_bgn_enddate to set.
     */
    public void setGs_bgn_enddate(String aGs_bgn_enddate) {
        this.gs_bgn_enddate = aGs_bgn_enddate;
    }



    /**
     * @return 返回 gs_bgn_filename.
     */
    public String getGs_bgn_filename() {
        return this.gs_bgn_filename;
    }



    /**
     * @param aGs_bgn_filename The gs_bgn_filename to set.
     */
    public void setGs_bgn_filename(String aGs_bgn_filename) {
        this.gs_bgn_filename = aGs_bgn_filename;
    }



    /**
     * @return 返回 gs_bgn_filenumber.
     */
    public String getGs_bgn_filenumber() {
        return this.gs_bgn_filenumber;
    }



    /**
     * @param aGs_bgn_filenumber The gs_bgn_filenumber to set.
     */
    public void setGs_bgn_filenumber(String aGs_bgn_filenumber) {
        this.gs_bgn_filenumber = aGs_bgn_filenumber;
    }



    /**
     * @return 返回 gs_bgn_id.
     */
    public String getGs_bgn_id() {
        return this.gs_bgn_id;
    }



    /**
     * @param aGs_bgn_id The gs_bgn_id to set.
     */
    public void setGs_bgn_id(String aGs_bgn_id) {
        this.gs_bgn_id = aGs_bgn_id;
    }



    /**
     * @return 返回 gs_bgn_mainserial.
     */
    public String getGs_bgn_mainserial() {
        return this.gs_bgn_mainserial;
    }



    /**
     * @param aGs_bgn_mainserial The gs_bgn_mainserial to set.
     */
    public void setGs_bgn_mainserial(String aGs_bgn_mainserial) {
        this.gs_bgn_mainserial = aGs_bgn_mainserial;
    }



    /**
     * @return 返回 gs_bgn_number.
     */
    public String getGs_bgn_number() {
        return this.gs_bgn_number;
    }



    /**
     * @param aGs_bgn_number The gs_bgn_number to set.
     */
    public void setGs_bgn_number(String aGs_bgn_number) {
        this.gs_bgn_number = aGs_bgn_number;
    }



    /**
     * @return 返回 gs_bgn_remark.
     */
    public String getGs_bgn_remark() {
        return this.gs_bgn_remark;
    }



    /**
     * @param aGs_bgn_remark The gs_bgn_remark to set.
     */
    public void setGs_bgn_remark(String aGs_bgn_remark) {
        this.gs_bgn_remark = aGs_bgn_remark;
    }



    /**
     * @return 返回 gs_bgn_returneddate.
     */
    public String getGs_bgn_returneddate() {
        return this.gs_bgn_returneddate;
    }



    /**
     * @param aGs_bgn_returneddate The gs_bgn_returneddate to set.
     */
    public void setGs_bgn_returneddate(String aGs_bgn_returneddate) {
        this.gs_bgn_returneddate = aGs_bgn_returneddate;
    }



    /**
     * @return 返回 gs_bgn_serial.
     */
    public String getGs_bgn_serial() {
        return this.gs_bgn_serial;
    }



    /**
     * @param aGs_bgn_serial The gs_bgn_serial to set.
     */
    public void setGs_bgn_serial(String aGs_bgn_serial) {
        this.gs_bgn_serial = aGs_bgn_serial;
    }



    /**
     * @return 返回 gs_bgn_signdate.
     */
    public String getGs_bgn_signdate() {
        return this.gs_bgn_signdate;
    }



    /**
     * @param aGs_bgn_signdate The gs_bgn_signdate to set.
     */
    public void setGs_bgn_signdate(String aGs_bgn_signdate) {
        this.gs_bgn_signdate = aGs_bgn_signdate;
    }



    /**
     * @return 返回 gs_bgn_signuser.
     */
    public String getGs_bgn_signuser() {
        return this.gs_bgn_signuser;
    }



    /**
     * @param aGs_bgn_signuser The gs_bgn_signuser to set.
     */
    public void setGs_bgn_signuser(String aGs_bgn_signuser) {
        this.gs_bgn_signuser = aGs_bgn_signuser;
    }



    /**
     * @return 返回 gs_bgn_term.
     */
    public String getGs_bgn_term() {
        return this.gs_bgn_term;
    }



    /**
     * @param aGs_bgn_term The gs_bgn_term to set.
     */
    public void setGs_bgn_term(String aGs_bgn_term) {
        this.gs_bgn_term = aGs_bgn_term;
    }



    /**
     * @return 返回 gs_bgn_type.
     */
    public String getGs_bgn_type() {
        return this.gs_bgn_type;
    }



    /**
     * @param aGs_bgn_type The gs_bgn_type to set.
     */
    public void setGs_bgn_type(String aGs_bgn_type) {
        this.gs_bgn_type = aGs_bgn_type;
    }



    /**
     * @return 返回 gs_bgn_userid.
     */
    public String getGs_bgn_userid() {
        return this.gs_bgn_userid;
    }



    /**
     * @param aGs_bgn_userid The gs_bgn_userid to set.
     */
    public void setGs_bgn_userid(String aGs_bgn_userid) {
        this.gs_bgn_userid = aGs_bgn_userid;
    }



    /**
     * @return 返回 gs_bgn_usertype.
     */
    public String getGs_bgn_usertype() {
        return this.gs_bgn_usertype;
    }



    /**
     * @param aGs_bgn_usertype The gs_bgn_usertype to set.
     */
    public void setGs_bgn_usertype(String aGs_bgn_usertype) {
        this.gs_bgn_usertype = aGs_bgn_usertype;
    }



    /**
     * @return 返回 gs_bgn_vol.
     */
    public String getGs_bgn_vol() {
        return this.gs_bgn_vol;
    }



    /**
     * @param aGs_bgn_vol The gs_bgn_vol to set.
     */
    public void setGs_bgn_vol(String aGs_bgn_vol) {
        this.gs_bgn_vol = aGs_bgn_vol;
    }



    /**
     * @return 返回 gs_bgn_effect.
     */
    public String getGs_bgn_effect() {
        return this.gs_bgn_effect;
    }



    /**
     * @param aGs_bgn_effect The gs_bgn_effect to set.
     */
    public void setGs_bgn_effect(String aGs_bgn_effect) {
        this.gs_bgn_effect = aGs_bgn_effect;
    }



    /**
     * @return 返回 gs_bgn_recordid.
     */
    public String getGs_bgn_recordid() {
        return this.gs_bgn_recordid;
    }



    /**
     * @param aGs_bgn_recordid The gs_bgn_recordid to set.
     */
    public void setGs_bgn_recordid(String aGs_bgn_recordid) {
        this.gs_bgn_recordid = aGs_bgn_recordid;
    }



    /**
     * @return 返回 gs_bgn_recordtime.
     */
    public String getGs_bgn_recordtime() {
        return this.gs_bgn_recordtime;
    }



    /**
     * @param aGs_bgn_recordtime The gs_bgn_recordtime to set.
     */
    public void setGs_bgn_recordtime(String aGs_bgn_recordtime) {
        this.gs_bgn_recordtime = aGs_bgn_recordtime;
    }



    /**
     * @return 返回 gs_main_ectype_num.
     */
    public String getGs_main_ectype_num() {
        return this.gs_main_ectype_num;
    }



    /**
     * @param aGs_main_ectype_num The gs_main_ectype_num to set.
     */
    public void setGs_main_ectype_num(String aGs_main_ectype_num) {
        this.gs_main_ectype_num = aGs_main_ectype_num;
    }



    /**
     * @return 返回 gs_bgn_week.
     */
    public String getGs_bgn_week() {
        return this.gs_bgn_week;
    }



    /**
     * @param aGs_bgn_week The gs_bgn_week to set.
     */
    public void setGs_bgn_week(String aGs_bgn_week) {
        this.gs_bgn_week = aGs_bgn_week;
    }
}
